<div class = "ui modal">
    <i class = "close icon"></i>
    <div class = "header">
        分享{{pageName}}
    </div>
    <div class = "image content">
        <div class = "clearfix">
            <div class = "ui form">
                <div class = "inline fields">
                    <div class = "field" ng-repeat = "acc in accounts">
                        <div class = "ui checkbox">
                            <input type = "checkbox" name = "example" ng-model = "acc.shared">
                            <label>{{acc.userName}}</label>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div ng-show = "successfulShared.length">
            <span>已成功分享至:</span>
            <div class = "ui mini label" ng-repeat = "acc in successfulShared">
                {{acc}}
            </div>
        </div>
    </div>
    <div class = "actions">
        <div class = "red tc" ng-show = "errInfoShown">
            {{errInfo}}
        </div>
        <button class = "ui red button" ng-click = "share($event)">
            确定
        </button>
        <button class = "ui button" ng-click = "close()">
            取消
        </button>
    </div>
</div>